Int cdromioctl (struct inode*ip, struct file*fp, unsigned int cmd, unsigned long arg)

This function handles all ioctl requests for CDROM devices in a uniform way. The different calls fall into three categories: ioctls that can be directly implemented by device operations, ones that are routed through the call audioioctl (), and the remaining ones, that are presumable device-dependent. Generally, a negative return value indicates an error.



Subsections